package com.lynn.accesstoken.utils;

import java.util.UUID;

/**
 * @ClassName TokenUtils
 * @Description TODO
 * @Author ly
 * @Date 2019-05-30 20:30
 * @Version 1.0
 */
public class TokenUtils {

    /**
     * 获取新的token
     * @return
     */
    public static String getToken() {
        return UUID.randomUUID().toString().replaceAll("-", "");
    }
}
